<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
	</head>
	<body>
		<div id="example">{{message}}</div>
		
		<script src="js/jquery-3.5.0.js"></script>
		<script src="js/vue.js"></script>
		<script>
		var vm = new Vue({
		  el: '#example',
		  data: {
			message: '123'
		  }
		})
		vm.message = 'new message' // 更改数据
		console.log(vm.$el.innerText) 
		Vue.nextTick(function () {
		  console.log(vm.$el.textContent) 
		})
		</script>
	</body>
</html>